<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions" 
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  targetNamespace="Examples">

  <process id="subProcessDataInputOutput" isExecutable="true">

    <startEvent id="theStart" />

    <sequenceFlow id="flow1" sourceRef="theStart" targetRef="callSubProcess" />

    <callActivity id="callSubProcess" calledElement="simpleSubProcess" >
	  <extensionElements>
	    <camunda:in source="superVariable" target="subVariable" />
	    <camunda:out source="subVariable" target="superVariable" />
	  </extensionElements>
    </callActivity>

    <sequenceFlow id="flow3" sourceRef="callSubProcess" targetRef="userTask1" />

    <userTask id="userTask1" name="Task in super process" />

    <sequenceFlow id="flow4" sourceRef="userTask1" targetRef="theEnd" />

    <endEvent id="theEnd" />

  </process>

</definitions>
